% TEST buildEpochs

clear
subjectinfo = SubjectInfo.Load('Subject CW');
clc
%% Record the timestamp of the .m file
mfnp = dir([mfilename('fullpath') '.m']);
disp(['Running: ' mfnp.name ' (version ' mfnp.date ')']);
output.mfile = mfnp;

memory

cfg1 = buildEpochs_defaultCfg();
[output1 subjectinfo] = buildEpochs(subjectinfo, cfg1);

memory

cfg2 = createErsp_defaultCfg();
[output2 subjectinfo] = createErsp(subjectinfo, cfg2);

memory
